﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IFTRUE.DataCollection.Model.Custom
{
    /// <summary>
    /// 京东商品实体
    /// </summary>
   public class Commodity_JD
    {
       public Commodity_JD()
       {
           this._price = new Commodity_JD_Price();
           this._other = new Commodity_JD_Other();
       }

        private Commodity_JD_Price _price;
       private Commodity_JD_Other _other;

        public Commodity_JD_Price Price
        {
            get { return _price; }
            set { _price = value; }
        }
       
        public Commodity_JD_Other Other
        {
            get { return _other; }
            set { _other = value; }
        }
    }

    /// <summary>
    /// 京东商品价格实体
    /// </summary>
   public class Commodity_JD_Price
   {
       private string _id;
       private string _m;
       private string _p;

       /// <summary>
       /// 商品ＩＤ
       /// </summary>
       public string Id
       {
           get { return _id; }
           set { _id = value; }
       }
       /// <summary>
       /// 原价
       /// </summary>
       public string M
       {
           get { return _m; }
           set { _m = value; }
       }
       /// <summary>
       /// 京东价
       /// </summary>
       public string P
       {
           get { return _p; }
           set { _p = value; }
       }
   }

   /// <summary>
   /// 京东商品其它信息实体
   /// </summary>
   public class Commodity_JD_Other
   {
       private string _subtitle;
       private string _addTime;
       private string _promotions;

       /// <summary>
       /// 副标题
       /// </summary>
       public string Subtitle
       {
           get { return _subtitle; }
           set { _subtitle = value; }
       }
       /// <summary>
       /// 上架时间
       /// </summary>
       public string AddTime
       {
           get { return _addTime; }
           set { _addTime = value; }
       }
       /// <summary>
       /// 促销信息
       /// </summary>
       public string Promotions
       {
           get { return _promotions; }
           set { _promotions = value; }
       }
   }
}
